<template>
    <h3 style="margin-top: 10px;">{{title}}</h3>
    <p v-if="content">{{ content }}</p>
    <el-divider v-if="isdivider" />
</template>
<script lang="ts" setup>
defineOptions({ name: 'HeaderTitle' })
import { propTypes } from '@/utils/propTypes'

defineProps({
  title: propTypes.string.def(''),
  content: propTypes.string.def(''),
  pcontent: propTypes.string.def(''),
  isdivider:propTypes.bool.def(true),
  styleParams: propTypes.object.def({
    backgroundColor: '#fff!important',
    padding:'20px',
    borderRadius:'8px!important',
  })
})
</script>